package com.example.aircraftwar.aircraftfactory;

import com.example.aircraftwar.aircraft.AbstractEnemy;
import com.example.aircraftwar.aircraft.EliteEnemy;
import com.example.aircraftwar.application.game.Game;
import com.example.aircraftwar.application.ImageManager;
import com.example.aircraftwar.application.MainActivity;

public class EliteFactory implements AircraftFactory {
    @Override
    public AbstractEnemy createAircraft() {
        return new EliteEnemy(
                (int) ( Math.random() * (MainActivity.WINDOW_WIDTH - ImageManager.ELITE_ENEMY_IMAGE.getWidth()))*1,
                (int) (Math.random() * MainActivity.WINDOW_HEIGHT * 0.2)*1,
                (int)(Math.random()*6) * 2,
                20,
                (int)(30 * Game.magnification),
                1,
                (int)(10 * Game.magnification),
                1
        );
    }
}
